//<script>
Ext.define('{$_MCA}', {
	extend: 'Ext.panel.Panel',
	layout: 'absolute',
	items:{
		xtype:'panel',
		x:"50%",
		y:"50%",
		width: 300,
		height: 300,
		margin:"-220 auto auto -150",
		tbar:{
			height:98,
			padding:0,
			items:[
				{xtype:'label',html:'<strong style="font-size:18px;">对不起此页面不存在</strong><br/>code:404<br/>您可以通过以下方式解决此问题：'}
			]
		},
		defaults: {
			flex: 1,
			style:'margin:auto',
			defaults: {
				flex: 1,
				height: 50,
				margin: 2
			}
		},
		items: [{
			xtype: 'panel',
			layout: 'hbox',
			items: [
				{xtype:'button',text:'联系管理员',handler: function(){
					window.open("http://wpa.qq.com/msgrd?v=3&uin={:config('admin_qq')}&site=qq&menu=yes")
                }},
				{xtype:'button',text:'致电管理员',handler: function(){
					Ext.create("Ext.window.Window", {
						closable: true,
						closeAction: 'destroy',
						border: false,
						width: 400,
						height: 300,
						modal: true,
						title: '开发者邮箱',
						html:"<h1>{:config('admin_phone')}</h1>",
					}).show();
                }},
				{xtype:'button',text:'管理员邮箱',handler: function(){
					Ext.create("Ext.window.Window", {
						closable: true,
						closeAction: 'destroy',
						border: false,
						width: 400,
						height: 300,
						modal: true,
						title: '开发者邮箱',
						html:"<h1>{:config('admin_email')}</h1>",
					}).show();
                }},
			]
		},
		{
			xtype: 'panel',
			layout: 'hbox',
			items: [
				{xtype:'button',text:'联系开发者',handler: function(){
					window.open("http://wpa.qq.com/msgrd?v=3&uin={:config('soft.qq')}&site=qq&menu=yes")
                }},
				{xtype:'button',text:'致电开发者',handler: function(){
					Ext.create("Ext.window.Window", {
						closable: true,
						closeAction: 'destroy',
						border: false,
						width: 400,
						height: 300,
						modal: true,
						title: '开发者电话',
						html:"<h1>{:config('soft.phone')}</h1>",
					}).show();
                }},
				{xtype:'button',text:'开发者邮箱',handler: function(){
					Ext.create("Ext.window.Window", {
						closable: true,
						closeAction: 'destroy',
						border: false,
						width: 400,
						height: 300,
						modal: true,
						title: '开发者邮箱',
						html:"<h1>{:config('soft.email')}</h1>",
					}).show();
                }},
			]
		},
		{
			xtype: 'panel',
			layout: 'hbox',
			items: [
				{xtype:'button',text:'官网',handler: function(){
					window.open("{:config('soft.site')}")
				}},
				{xtype:'button',text:'论坛',handler: function(){
					window.open("{:config('soft.bbs')}")
				}},
				{xtype:'button',text:'手册',handler: function(){
					window.open("{:config('soft.doc')}")
				}},
			]
		}]
	},
});
//</script>